package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._13适配器模式._3篮球翻译;

/**
 * @ClassName ForeignCenter
 * @Description TODO
 * @Author zero
 * @DATE 2023/7/19 11:25 PM
 * @Version 1.0
 */

//外籍中锋
class ForeignCenter {
    private String name;
    public String getName(){
        return this.name;
    }
    public void setName(String value){
        this.name = value;
    }

    public void 进攻(){
        System.out.println("外籍中锋 "+this.name+" 进攻");
    }

    public void 防守(){
        System.out.println("外籍中锋 "+this.name+" 防守");
    }
}
